

package com.hazelcast.client.impl.protocol.task;

/**
 * Interface for all client message tasks to implement
 */
public interface MessageTask extends Runnable {

    /**
     * Returns {@code true} if current task is a management one and should be protected by additional access checks (e.g. the
     * client source address).
     *
     * @return {@code true} when the task is a protected management task; {@code false} otherwise
     */
    boolean isManagementTask();
}
